home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
VRML 2.0 Sourcebook (2nd Edition)
/
VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso
/
book
/
unix
/
ch21
/
21fig04c.wrl
< prev
next >
Wrap
Text File
|
1996-09-23
|
1KB
|
57 lines
#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright [1997] By
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Group {
children [
PointLight {
location 3.0 3.0 3.0
ambientIntensity 0.2
},
Shape {
appearance Appearance {
material Material {
ambientIntensity 0.4
diffuseColor 0.15 0.15 0.15
specularColor 0.70 0.70 0.70
shininess 0.08
}
}
geometry Extrusion {
creaseAngle 1.57
endCap FALSE
solid FALSE
crossSection [
# Circle
1.00 0.00, 0.92 -0.38,
0.71 -0.71, 0.38 -0.92,
0.00 -1.00, -0.38 -0.92,
-0.71 -0.71, -0.92 -0.38,
-1.00 -0.00, -0.92 0.38,
-0.71 0.71, -0.38 0.92,
0.00 1.00, 0.38 0.92,
0.71 0.71, 0.92 0.38,
1.00 0.00
]
spine [
# Straight-line
0.0 0.0 0.0, 0.0 0.4 0.0,
0.0 0.8 0.0, 0.0 1.2 0.0,
0.0 1.6 0.0, 0.0 2.0 0.0,
0.0 2.4 0.0, 0.0 2.8 0.0,
0.0 3.2 0.0, 0.0 3.6 0.0,
0.0 4.0 0.0
]
scale [
1.8 1.8, 1.95 1.95,
2.0 2.0, 1.95 1.95
1.8 1.8, 1.5 1.5
1.2 1.2, 1.05 1.05,
1.0 1.0, 1.05 1.05,
1.15 1.15,
]
}
}
]
}